import request from "./request";
import apiConfig from "./config";
import { getApiPath } from "./util";
export const addUserApi = function (data) {
  const {
    addUser: { path, method },
  } = apiConfig;
  return request({
    method,
    url: getApiPath(path),
    data,
  });
};
